package com.xkdx.guangguang.fragment.myinfomation;

import java.util.HashMap;

import android.content.Context;

import com.xkdx.guangguang.fragment.BaseFragment;
import com.xkdx.guangguang.module.network.AbsModule;
import com.xkdx.guangguang.module.network.HttpTask;
import com.xkdx.guangguang.module.network.JsonHttpRequest;

public class InfoSelfPresistence extends HttpTask {

	public InfoSelfPresistence(BaseFragment baseFragment) {
		this.baseFragment = baseFragment;
		mUseCache=false;
		requestInstent=new JsonHttpRequest();
	}

	@Override
	protected void onPostExecute(HashMap<String, AbsModule> result) {
		if (baseFragment != null) {
			if (InfoNotificationFragment.isself_LoadMore) {
				((InfoNotificationFragment)baseFragment).showOtherLoaded(result);
			} else {
				baseFragment.showLoaded(result);
			}
		}
	}
}
